using System;

namespace Framework.StringSplit
{
    /// <summary>
    /// String spliting options 
    /// </summary>
    [Flags]
    public enum StringSplitOptionsType
    {
        /// <summary>
        /// Standard splitting, no extra options set
        /// </summary>
        None = 0,

        /// <summary>
        /// Empty delimited values are removed
        /// </summary>
        RemoveEmptyEntries = 1,

        /// <summary>
        /// Values are trimed of whitespace
        /// </summary>
        TrimWhitespace = 2,

        /// <summary>
        /// Values are trimed of trailing whitespace
        /// </summary>
        TrimWhitespaceEnd = 4,

        /// <summary>
        /// Values are trimed of beggining whitespace
        /// </summary>
        TrimWhitespaceStart = 8,

        /// <summary>
        /// Trimming Whitespace is on by default
        /// </summary>
        Default = TrimWhitespace
    }
}